<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">

	<head>
		<meta charset="utf-8">
		<title>系统管理-讲师列表</title>
		<div th:insert="~{manager/commons::publicStatic}"></div>
	</head>

	<body>
	<!--头-->
	<div th:insert="~{manager/commons::head}"></div>
	<!--头-->
		<div class="doc1180 paddingT20 fn-clear container">
			<div>
				<form class="form-inline">
					<div class="form-group">
						<label for="exampleInputName2">用户名</label>
						<input type="text" class="form-control" id="exampleInputName2" placeholder="Jane Doe">
					</div>
					
					<button type="submit" class="btn btn-primary">搜索</button>
				</form>

			</div>
			<div class="myPost_Theme" style="height: 80vh;margin-top: 50px;">
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="myPost_Table">
					<tr class="myPost_Th">
						<th><input type="checkbox" name="" id="" value="" /></th>
						<th>头像</th>
						<th>讲师编号</th>
						<th>讲师名</th>
						<th>级别</th>
						<th>性别</th>
						<th>职称</th>
						<th>生日</th>
						<th>介绍</th>
						<th>操作</th>
					</tr>
					<tr th:each="teacher:${teacherList}">
						<td><input type="checkbox" name="" id="" value="" /></td>
						<td class="myPost_ThemeTitle"><img src="../i/30x30.png"></td>
						<th th:text="${teacher.getTeacherId()}">讲师编号</th>
						<th th:text="${teacher.getName()}">讲师名</th>
						<th th:text="${teacher.getCategory()}">级别</th>
						<th th:text="${teacher.getSex()}">性别</th>
						<th th:text="${teacher.getRecord()}">职称</th>
						<th th:text="${#dates.format(teacher.getBirth(), 'yyyy-M月-d日')}">生日</th>
						<th th:text="${teacher.getIntroduce()}">介绍</th>
						<td>
							<a href="#" class="btn btn-warning">编辑</a>
							<a href="#" class="btn btn-danger">删除</a>
						</td>
					</tr>
					
				</table>

				<div class="pageList" style="width: 500px;float: right;">
					<ul>
						<li><span>1</span></li>
						<li>
							<a href="###">2</a>
						</li>
						<li>
							<a href="###">3</a>
						</li>
						<li>
							<a href="###">4</a>
						</li>
						<li>
							<a href="###">5</a>
						</li>
						<li>
							<a href="###">最后一页</a>
						</li>
						<li>
							<a href="###" class="pret">上一页</a>
						</li>
						<li>
							<a href="###" class="next">下一页</a>
						</li>
					</ul>
				</div>

				<div id="" class="" style="margin-top: 40px;width: 400px; float: left;">
					<a href="#" class="btn btn-success" data-toggle="modal" data-target=".modal">创建</a>
					<a href="#" class="btn btn-warning" data-toggle="modal" data-target=".modal">冷冻</a>
					<a href="#" class="btn btn-primary" data-toggle="modal" data-target=".modal">解冻</a>
					<a href="#" class="btn btn-danger">删除</a>
				</div>
			</div>

		</div>

		<!--表单元素-->
		<div class="modal fade" tabindex="-1" role="dialog">
			<div class="modal-dialog" role="document">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
						<h4 class="modal-title">连接信息</h4>
					</div>
					<div class="modal-body">
						<form>
							<div class="form-group">
								<label>用户名</label>
								<input type="text" class="form-control" placeholder="名称">
							</div>
							<div class="form-group">
								<label>真实姓名</label>
								<input type="text" class="form-control" placeholder="真实姓名">
							</div>
							<div class="form-group">
								<label>性别</label>
								<select class="form-control">
									<option>男</option>
									<option>女</option>
								</select>
							</div>
							<div class="form-group">
								<label>学历</label>
								<select class="form-control">
									<option>本科</option>
									<option>专科</option>
								</select>
							</div>
							<div class="form-group">
								<label>邮箱</label>
								<input type="email" class="form-control" placeholder="email">
							</div>
							<div class="form-group">
								<label>电话</label>
								<input type="text" class="form-control" placeholder="电话">
							</div>
							<div class="form-group">
								<label>生日</label>
								<input type="datetime" class="form-control" placeholder="">
							</div>
							<div class="form-group">
								<label>自我介绍</label>
								<textarea name="" rows="5" cols="" class="form-control">
						   		2019年购买连接信息
						   	</textarea>
							</div>
						</form>

					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
						<button type="button" class="btn btn-primary">保存</button>
					</div>
				</div>
				<!-- /.modal-content -->
			</div>
			<!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->

		<!-- 代码结束 -->
	</body>

</html>